package com.gdpu.pbss.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName(value = "t_order")
public class Order {

    @TableId(value = "order_id",type = IdType.AUTO)
    private Integer orderId;
    private String  userName;
    private String  pbName;
    private String  pbssName;
    private Boolean orderStatus;
    private Boolean payStyle;
    private String  phone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp endTime;
}
